package com.sparrow.example_message.base.resp;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.sparrow.example_message.PacketId;
import com.sparrow.socket.anno.Packet;
@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "返回查看玩家信息")
@Packet(msgId = PacketId.Base.RESP_QUERY_PLAYER_INFO)
public class RespQueryPlayerInfoPacket {

    @Protobuf(description = "玩家id")
    private long playerId;
    @Protobuf(description = "区服id")
    private int server;
    @Protobuf(description = "玩家名字")
    private String name;
    @Protobuf(description = "玩家等级")
    private int level;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(long playerId) {
        this.playerId = playerId;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public void setServer(int server) {
        this.server = server;
    }

    public int getServer() {
        return server;
    }
}
